var/XML/Element
	xmlGlobalSpecies
	xmlGlobalClasses
	xmlGlobalTalents
	xmlGlobalFeats


proc
	/*loadXMLFile(fileXML)
	loadSpecies()
	loadClasses()
	loadTalents()
	loadFeats()*/

	loadXMLFile(fileXML)
		//world.log<<"loadXMLFile() called"
		//world.log<<"PATH ATTEMPT = [DATA_REPO][fileXML]"
		var/XML/Element/xmlE = xmlRootFromFile("[DATA_REPO][fileXML]")
		return xmlE

	loadSpecies()
		var/XML/Element/xmlSpecies = loadXMLFile("species.xml")
		for(var/XML/Element/xmlSpec in xmlSpecies.ChildElements())
			lstGlobalSpecies += xmlSpec.Attribute("name")
			lstGlobalSpecies[xmlSpec.Attribute("name")] = xmlSpec.XML()

	loadClasses()
		//world.log<<"loadClasses() called from [__FILE__]"
		var/XML/Element/xmlClasses = loadXMLFile("classes.xml")
		for(var/XML/Element/xmlClass in xmlClasses.Descendants("class"))
			//world.log<<"Loop entered from [__FILE__]"
			var/Class/classNewClass = new()
			classNewClass.loadFromXmlElement(xmlClass)

world
	New()
		..()
		//xmlRoot = xmlRootFromPath(DATA_REPO)
		//loadSpecies()
		//loadClasses()
		//loadTalents()
		//loadFeats()